package com.c5p1ng.groovy.bean;

import java.io.Serializable;

public class ScriptVariable implements Serializable {
    /**
     * 变量名称
     */
    private String name;

    /**
     * 变量类型
     */
    private VariableType type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public VariableType getType() {
        return type;
    }

    public void setType(VariableType type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ScriptVariable{" +
                "name='" + name + '\'' +
                ", type=" + type +
                '}';
    }
}
